/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：返佣提现记录                                                    
*│　作    者：gaotang                                              
*│　版    本：1.0   模板代码自动生成                                              
*│　创建时间：2019-02-15 13:42:39                            
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│　命名空间: BestTrader.Cms.Models                                  
*│　类    名：RebateExtract                                     
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BestTrader.Cms.Models
{
	/// <summary>
	/// gaotang
	/// 2019-02-15 13:42:39
	/// 返佣提现记录
	/// </summary>
	[Table("RebateExtract")]
	public class RebateExtract
	{
		/// <summary>
		/// 主键
		/// </summary>
		[Key]
		public Int32 Id {get;set;}

		/// <summary>
		/// 用户编号
		/// </summary>
		[Required]
		[MaxLength(10)]
		public Int32 ManagerId {get;set;}

		/// <summary>
		/// 用户帐号
		/// </summary>
		[MaxLength(64)]
		public String ManagerName {get;set;}

		/// <summary>
		/// 用户真实姓名
		/// </summary>
		[MaxLength(64)]
		public String ManagerRealName {get;set;}

        [MaxLength(64)]
        public String DealedNumber { get; set; }

        /// <summary>
        /// 角色编号
        /// </summary>
        [MaxLength(10)]
		public Int32? RoleId {get;set;}

		/// <summary>
		/// 开户银行
		/// </summary>
		[MaxLength(32)]
		public String BankType {get;set;}

		/// <summary>
		/// 开户城市
		/// </summary>
		[MaxLength(16)]
		public String BankProvince {get;set;}

		/// <summary>
		/// 开户省份
		/// </summary>
		[MaxLength(16)]
		public String BankCity {get;set;}

		/// <summary>
		/// 银行卡号
		/// </summary>
		[MaxLength(32)]
		public String BankCard {get;set;}

		/// <summary>
		/// 申请时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? ApplyTime {get;set;}

		/// <summary>
		/// 审核时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? AuditTime {get;set; }

        /// <summary>
        /// 返佣类型（0:提现；1:入金）
        /// </summary>
        public Boolean? ExtractRMBType { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        [MaxLength(18)]
		public Decimal? ExtractRMBMoney {get;set;}

		/// <summary>
		/// 状态(0:待审核,1：提现成功,2：提现取消,3：提现失败)
		/// </summary>
		[MaxLength(10)]
		public Int32? State {get;set;}

		/// <summary>
		/// 添加人
		/// </summary>
		[MaxLength(10)]
		public Int32? AddManagerId {get;set;}

		/// <summary>
		/// 添加时间
		/// </summary>
		[Required]
		[MaxLength(23)]
		public DateTime AddTime {get;set;}

		/// <summary>
		/// 修改人
		/// </summary>
		[MaxLength(10)]
		public Int32? ModifyManagerId {get;set;}

		/// <summary>
		/// 修改时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? ModifyTime {get;set;}

		/// <summary>
		/// 是否删除
		/// </summary>
		[Required]
		[MaxLength(1)]
		public Boolean IsDelete {get;set;}


	}
}
